:root {
    --primary-color: #ff6c37;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --border-color: #dee2e6;
    --hover-color: #f0f0f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.logo {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
}

.request-container {
    display: flex;
    margin-bottom: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.method-selector {
    width: 100px;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    background-color: white;
    font-weight: bold;
    color: var(--dark-color);
}

.url-input {
    flex-grow: 1;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
}

.send-btn {
    width: 100px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #e05a2b;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab.active {
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
}

.tab-content {
    display: none;
    background: white;
    padding: 15px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
    display: block;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
}

.params-table th, .params-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.params-table input {
    width: 100%;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.add-row {
    margin-top: 10px;
    color: var(--primary-color);
    cursor: pointer;
}

.response-container {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.response-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.status-code {
    font-weight: bold;
    color: var(--success-color);
}

.response-time {
    color: var(--secondary-color);
}

.response-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.response-tab {
    padding: 10px 20px;
    cursor: pointer;
}

.response-tab.active {
    border-bottom: 2px solid var(--primary-color);
    font-weight: bold;
}

.response-content {
    padding: 15px;
}

pre {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 3px;
    overflow-x: auto;
    white-space: pre-wrap;
}

.hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}